package com.tao.controller;

import com.tao.entity.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RegAxiosController {
    @RequestMapping("/regAxios")
    public String reAxios(@RequestBody User user){
        return user.toString();
    }

}
